import request from '@/utils/request'

export function save(data) {
  return request({
    url: '/meetingRoom/save',
    method: 'post',
    data
  })
}

export function update(data) {
  return request({
    url: '/meetingRoom/updateById',
    method: 'post',
    data
  })
}

export function del(data) {
  return request({
    url: '/meetingRoom/del',
    method: 'post',
    data
  })
}

export function getDataByOpenId(data) {
  return request({
    url: '/meetingRoom/getDataByOpenId',
    method: 'post',
    data
  })
}

export function list(data) {
  return request({
    url: '/meetingRoom/list',
    method: 'post',
    data
  })
}
